<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/5/23
 * Time: 1:06
 */

namespace App\Inc;

class OrderInc
{
    /**
     * 订单详情页 预计上门时段 使用此时段
     */
    public const TIMEPERIOD_0_2 = 1;
    public const TIMEPERIOD_2_4 = 2;
    public const TIMEPERIOD_4_6 = 3;
    public const TIMEPERIOD_6_8 = 4;
    public const TIMEPERIOD_8_10 = 5;
    public const TIMEPERIOD_10_12 = 6;
    public const TIMEPERIOD_12_14 = 7;
    public const TIMEPERIOD_14_16 = 8;
    public const TIMEPERIOD_16_18 = 9;
    public const TIMEPERIOD_18_20 = 10;
    public const TIMEPERIOD_20_22 = 11;
    public const TIMEPERIOD_22_24 = 12;

    public const TIMEPERIOD_MAP = [
        self::TIMEPERIOD_0_2 => '0点-2点',
        self::TIMEPERIOD_2_4 => '2点-4点',
        self::TIMEPERIOD_4_6 => '4点-6点',
        self::TIMEPERIOD_6_8 => '6点-8点',
        self::TIMEPERIOD_8_10 => '8点-10点',
        self::TIMEPERIOD_10_12 => '10点-12点',
        self::TIMEPERIOD_12_14 => '12点-14点',
        self::TIMEPERIOD_14_16 => '14点-16点',
        self::TIMEPERIOD_16_18 => '16点-18点',
        self::TIMEPERIOD_18_20 => '18点-20点',
        self::TIMEPERIOD_20_22 => '20点-22点',
        self::TIMEPERIOD_22_24 => '22点-24点',
    ];

    public const TIMEPERIOD_NEW_MAP = [
        self::TIMEPERIOD_0_2 => '00:00-02:00',
        self::TIMEPERIOD_2_4 => '02:00-04:00',
        self::TIMEPERIOD_4_6 => '04:00-06:00',
        self::TIMEPERIOD_6_8 => '06:00-08:00',
        self::TIMEPERIOD_8_10 => '08:00-10:00',
        self::TIMEPERIOD_10_12 => '10:00-12:00',
        self::TIMEPERIOD_12_14 => '12:00-14:00',
        self::TIMEPERIOD_14_16 => '14:00-16:00',
        self::TIMEPERIOD_16_18 => '16:00-18:00',
        self::TIMEPERIOD_18_20 => '18:00-20:00',
        self::TIMEPERIOD_20_22 => '20:00-22:00',
        self::TIMEPERIOD_22_24 => '22:00-24:00',
    ];

    /**
     * 保洁类型
     */
    public const BTYPE_开荒保洁 = 3;
    public const BTYPE_日常保洁 = 4;
    public const BTYPE_深度保洁 = 19;
    public const BTYPE_擦玻璃 = 101;
    public const BTYPE_油烟机清洗 = 102;
    public const BTYPE_精细开荒 = 103;
    public const BTYPE_工程开荒 = 104;
    public const BTYPE_冰箱清洗 = 105;
    public const BTYPE_除螨杀菌 = 106;
    public const BTYPE_家电清洗套餐 = 107;
    public const BTYPE_除螨杀菌套餐 = 108;
    public const BTYPE_洗衣机清洗 = 109;
    public const BTYPE_空调清洗 = 110;
    public const BTYPE_厨房保洁 = 111;
    public const BTYPE_卫生间保洁 = 112;
    public const BTYPE_卧室保洁 = 113;
    public const BTYPE_阳台保洁 = 114;
    public const BTYPE_全屋深度保洁 = 115;
    public const BTYPE_电热水器清洗 = 116;
    public const BTYPE_消毒杀菌与日常保洁 = 117;
    public const BTYPE_家电清洗套餐2件套 = 118;
    public const BTYPE_家电清洗套餐3件套 = 119;
    public const BTYPE_企业消杀 = 120;
    public const BTYPE_擦玻璃_大户型 = 121;
    public const BTYPE_空调清洁套餐 = 122;
    public const BTYPE_测试产品 = 123;

    public const BTYPE_NAME = [
        self::BTYPE_开荒保洁 => '开荒保洁',
        self::BTYPE_日常保洁 => '日常保洁',
        self::BTYPE_擦玻璃 => '擦玻璃',
        self::BTYPE_油烟机清洗 => '油烟机清洗',
        self::BTYPE_精细开荒 => '精细开荒',
        self::BTYPE_工程开荒 => '工程开荒',
        self::BTYPE_冰箱清洗 => '冰箱清洗',
        self::BTYPE_除螨杀菌 => '除螨杀菌',
        self::BTYPE_家电清洗套餐 => '家电清洗套餐',
        self::BTYPE_除螨杀菌套餐 => '除螨杀菌套餐',
        self::BTYPE_洗衣机清洗 => '洗衣机清洗',
        self::BTYPE_空调清洗 => '空调清洗',
        self::BTYPE_厨房保洁 => '厨房保洁',
        self::BTYPE_卫生间保洁 => '卫生间保洁',
        self::BTYPE_卧室保洁 => '卧室保洁',
        self::BTYPE_阳台保洁 => '阳台保洁',
        self::BTYPE_全屋深度保洁 => '全屋深度保洁',
        self::BTYPE_电热水器清洗 => '电热水器清洗',
        self::BTYPE_消毒杀菌与日常保洁 => '消毒杀菌与日常保洁',
        self::BTYPE_家电清洗套餐2件套 => '家电清洗套餐2件套',
        self::BTYPE_家电清洗套餐3件套 => '家电清洗套餐3件套',
        self::BTYPE_企业消杀 => '企业消杀',
        self::BTYPE_擦玻璃_大户型 => '擦玻璃_大户型',
        self::BTYPE_空调清洁套餐 => '空调清洁套餐',
        self::BTYPE_测试产品 => '测试产品',
    ];

    /**
     * 服务单位 m 小时 户
     * @var array
     */
    public static $btypeUnit = [
        self::BTYPE_开荒保洁 => '小时',
        self::BTYPE_日常保洁 => '小时',
        self::BTYPE_擦玻璃 => '㎡',
        self::BTYPE_油烟机清洗 => '台',
        self::BTYPE_精细开荒 => '㎡',
        self::BTYPE_工程开荒 => '㎡',
        self::BTYPE_冰箱清洗 => '台',
        self::BTYPE_除螨杀菌 => '张',
        self::BTYPE_洗衣机清洗 => '台',
        self::BTYPE_空调清洗 => '台',
        self::BTYPE_厨房保洁 => '小时',
        self::BTYPE_卫生间保洁 => '小时',
        self::BTYPE_卧室保洁 => '小时',
        self::BTYPE_阳台保洁 => '小时',
        self::BTYPE_全屋深度保洁 => '套',
        self::BTYPE_电热水器清洗 => '台',
        self::BTYPE_消毒杀菌与日常保洁 => '小时',
        self::BTYPE_家电清洗套餐2件套 => '套',
        self::BTYPE_家电清洗套餐3件套 => '套',
        self::BTYPE_企业消杀 => '㎡',
        self::BTYPE_擦玻璃_大户型 => '㎡',
        self::BTYPE_空调清洁套餐 => '套',
        self::BTYPE_测试产品 => '件',
    ];

    //家电类型(保单会用到)
    public const BTYPE_JIADIAN = [
        self::BTYPE_冰箱清洗,
        self::BTYPE_空调清洗,
        self::BTYPE_洗衣机清洗,
        self::BTYPE_油烟机清洗,
    ];

    public const BTYPE_CONFIG = [
        self::BTYPE_家电清洗套餐2件套 => [
            'banner1_image' => '',
            'product_desc' => '任选2件',
            'recommend_left1_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/cduan/jdqx2.png?nsukey=0IqXWAAfxWhmA8ipSaT75dIeOZXQpR54Qx1qY35ojAp3mPivP6gMhu5QNljHPg0VoXxCnIWKjEC33VV1%2BrjXGGl7AVJd6k2i6m8TJUgs%2BlF0HUQ1u7f4typTuL5tN12kHpGHfwWw4aKLtgzgcaWR4B7pqe60A5XToiAkBXeMmlRUZLiN4GoldLrnd9%2FXdg6F9dCmPtt0fC4vNktI6fOtjQ%3D%3D',
            'recommend_left2_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/tuijian.png',
            'recommend_right1_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/cduan/jdqxyj.png?nsukey=V9ylNKVsG2cqkzoChe%2B2iGHNIdRTHhRkLoycLg8nttkgGyfZnZsvovyZw%2BQhtDGOqpv6RXGYPElj6PLFy7cS7HF4k8sQ6sv%2F%2FONIRcpbXJpKMDgc5pRtbGorozugEWByeMxpFDaOGuo%2ByO4RV91TcBcOSKMBHo7eQIaQ0OruNxOtJqD6BpLgShKyQF43JfHRbXKvXBD22kkoQv%2FnobYzAg%3D%3D',
            'recommend_right2_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/cduan/jdqxbx.png?nsukey=pJQUFIh4e6PuIssZlwWuzlobkM5upjoPA1hP9RGnrBS9FhTSMvamWfGG%2FJENKegG6GyOxBXtXMvOOxv6AUKfwC9bju7%2BeS%2BVo%2BDXP5scFqs5ad%2BahSRwwvYxRRH5RHWGjsmX4NDEvkoP4eKGEJDnIDtr6mS8FbBsA4CLpaTVEdPcJI0C79vF8JsYq9R0C3IDSgsY8a7Sw1OsQH0meo4LQg%3D%3D',
            'product_unit' => '元/套',
            'recommend_double11_image' => '',
            'satisfaction_rate' => '',
            'chuman_shajun_taocan_image' => '',
            'reginal_image' => '',
            'reginal_desc' => '',
        ],
        self::BTYPE_家电清洗套餐3件套 => [
            'banner1_image' => '',
            'product_desc' => '任选3件',
            'recommend_left1_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/cduan/jdqx3.png?nsukey=G75YeshPymqfidqrZR8%2BlB0tuxBxQOrq8uiRkj2e2yuHNxQCEOs6kbPVXvxWaLJFShPCxHdfh%2FaN5sT5Ee06uTr4waaVsa13ZxfOcVxWRERHD46E0RJsqRbYRA7W9bK7Gip0uibuf4UbqVcjGiTW5Z2z5iwRDJwITfb6b0trtC3gkYeeAuYCRlJoVQAMprOW7xwgfAO%2FY0ClMZXGr9my5A%3D%3D',
            'recommend_left2_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/tuijian.png',
            'recommend_right1_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/cduan/youyeji.png?nsukey=BtaRzJxykFmsujk2VljT3e8lKe%2FiUci20pNE%2Bt1XJvYOBx1VPTf8%2FgHV53AYHADwopwtJCCCGg%2FInTXKeSgno6Hi%2FAgkDq%2Bygc6HE1yGnzccPd5Z%2F7AN4SA5S3ugBPUJUhEWxH4EGE%2BRO8Fg20YXJHOQStba6pLeWAOodQKlUrwZywM1AZ%2B12QhtCIGNX0zXvXURiLgevSqgVFyY4UKkAQ%3D%3D',
            'recommend_right2_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/cduan/resq.png?nsukey=D5mSD6iv3J8LK6Zc4i5hmATIoJNw1Gc8yiin%2FlKyGrJYoq3aOV10p4GQyN2lQ4x7BNaognzgtlVPO%2BsEMCJjgOX93sCGQgE3HzxDCCtQVxYpb%2F20eT8AxvawZ8REQF1ywoDYm8ATBCSwCynabuly%2BQ%3D%3D',
            'product_unit' => '元/套',
            'recommend_double11_image' => '',
            'satisfaction_rate' => '',
            'chuman_shajun_taocan_image' => '',
            'reginal_image' => '',
            'reginal_desc' => '',
        ],
        self::BTYPE_企业消杀 => [
            'banner1_image' => '',
            'product_desc' => '抗击病毒 安全开工',
            'recommend_left1_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/cduan/qiyexdsj.png?nsukey=jrW%2B6UnD8OvnUy3KteUovgBS2CfM%2BroRSTZILU4T%2BzNM8oW6AYNiMdRYQe3SQoiCtGTXKdTeB4Gi5jgAm2ApwmqwTyfXzhTvylDkxpodXWzFglprmoMF0q4H5GTwu7t6YQTN%2FeVK5XO0JnipyL9unDUwp0cVJcRD0m%2BIbrgjzz9JYcNzsRN7LBw1gM19Sav25NMNz9%2BAGFatTOVmEDu4Yw%3D%3D',
            'recommend_left2_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/tuijian.png',
            'recommend_right1_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/cduan/bangxdu.png?nsukey=idwLCuUosy%2B4VwI%2FBPZvC2M0gSKd%2Fixamno2upH6C0gYQUAgJjsBlk5HRhkQKSnN%2B4EuKdxa%2BJ6xL1Hxery5K3Qa1UyIusOatdq9lIivtBlP2fgkwEuBdLMe3ZIOkLkbUFDdKXBnpUXgPz3lPLowxXQI8zY2Xg9tvdkHu%2F5ggtYmPD5gIczeatAXg4L5zh3Zh10Npm1jeAKPNznLpeGMXA%3D%3D',
            'recommend_right2_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/cduan/bangxiaodu.png?nsukey=qVP5U8XSv6taHE4CslbrjFUtyspJCj9AlBurHKU60UJupF7RE8UdO9s8RnBfEAEIhKbON2iy9tHl4BiKnAnOB9wMn%2F7o5W9hZxWrpVrv9dWb6wYrc80dmsznrIC%2FL4Iicw0gz7G0uYtCzTd3x0yYiETolGgPzxuygePIYvccqeoDfk4jZjGk5HDq7s7Xzy%2FFP%2BYitqJlH6PgSbncWQ3XKA%3D%3D',
            'product_unit' => '元/平米',
            'recommend_double11_image' => '',
            'satisfaction_rate' => '',
            'chuman_shajun_taocan_image' => '',
            'reginal_image' => '',
            'reginal_desc' => '',
        ],
        self::BTYPE_开荒保洁 => [
            'banner1_image' => '', //首页全屋大扫除banner图片
            'product_desc' => '', //首页产品描述
            'recommend_left1_image' => '', //首页推荐服务左侧1图片
            'recommend_left2_image' => '', //首页推荐服务左侧2图片
            'recommend_right1_image' => '', //首页推荐服务右侧1图片
            'recommend_right2_image' => '', //首页推荐服务右侧2图片
            'product_unit' => '', //首页产品单位
            'recommend_double11_image' => '', //首页推荐服务双11图片
            'satisfaction_rate' => '', //首页推荐服务好评率
            'chuman_shajun_taocan_image' => '', //家电清洗套餐, 除螨杀菌套餐图片
            'reginal_image' => '', //区域保洁图片
            'reginal_desc' => '', //区域保洁描述

        ],
        self::BTYPE_日常保洁 => [
            'banner1_image' => '',
            'product_desc' => '360度全方位保洁、归纳整理',
            'recommend_left1_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/richang1.png',
            'recommend_left2_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/tuijian.png',
            'recommend_right1_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/richang2.png',
            'recommend_right2_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/richang3.png',
            'product_unit' => '元/小时',
            'recommend_double11_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/richang-11.png',
            'satisfaction_rate' => '96',
            'chuman_shajun_taocan_image' => '',
            'reginal_image' => '',
            'reginal_desc' => '',
        ],
        self::BTYPE_擦玻璃 => [
            'banner1_image' => '',
            'product_desc' => '按居室收费、省去测量、没有误差',
            'recommend_left1_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/c1@2x.png',
            'recommend_left2_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/tuijian.png',
            'recommend_right1_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/c2@2x.png',
            'recommend_right2_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/c3@2x.png',
            'product_unit' => '元/起',
            'recommend_double11_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/caboli-11.png',
            'satisfaction_rate' => '99',
            'chuman_shajun_taocan_image' => '',
            'reginal_image' => '',
            'reginal_desc' => '',
        ],
        self::BTYPE_油烟机清洗 => [
            'banner1_image' => '',
            'product_desc' => '全面拆卸、深度清洁、油污克星',
            'recommend_left1_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/y1@2x.png',
            'recommend_left2_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/tuijian.png',
            'recommend_right1_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/y2@2x.png',
            'recommend_right2_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/y3@2x.png',
            'product_unit' => '元/台',
            'recommend_double11_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/youyanji-11.png',
            'satisfaction_rate' => '99',
            'chuman_shajun_taocan_image' => '',
            'reginal_image' => '',
            'reginal_desc' => '',
        ],
        self::BTYPE_精细开荒 => [
            'banner1_image' => '',
            'product_desc' => '整套房屋精细开荒保洁',
            'recommend_left1_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/j1@2x.png',
            'recommend_left2_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/tuijian.png',
            'recommend_right1_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/j2@2x.png',
            'recommend_right2_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/j3@2x.png',
            'product_unit' => '元/平米',
            'recommend_double11_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/jingxikaihuang22.png',
            'satisfaction_rate' => '97',
            'chuman_shajun_taocan_image' => '',
            'reginal_image' => '',
            'reginal_desc' => '',
        ],
        self::BTYPE_工程开荒 => [
            'banner1_image' => '',
            'product_desc' => '新居基础开荒、除尘去胶大保洁',
            'recommend_left1_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/g1@2x.png',
            'recommend_left2_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/tuijian.png',
            'recommend_right1_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/g2@2x.png',
            'recommend_right2_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/g3@2x.png',
            'product_unit' => '元/平米',
            'recommend_double11_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/kaihuang-11.png',
            'satisfaction_rate' => '97',
            'chuman_shajun_taocan_image' => '',
            'reginal_image' => '',
            'reginal_desc' => '',
        ],
        self::BTYPE_冰箱清洗 => [
            'banner1_image' => '',
            'product_desc' => '',
            'recommend_left1_image' => '',
            'recommend_left2_image' => '',
            'recommend_right1_image' => '',
            'recommend_right2_image' => '',
            'product_unit' => '',
            'recommend_double11_image' => '',
            'satisfaction_rate' => '',
            'chuman_shajun_taocan_image' => '',
            'reginal_image' => '',
            'reginal_desc' => '',
        ],
        self::BTYPE_除螨杀菌 => [
            'banner1_image' => '',
            'product_desc' => '',
            'recommend_left1_image' => '',
            'recommend_left2_image' => '',
            'recommend_right1_image' => '',
            'recommend_right2_image' => '',
            'product_unit' => '',
            'recommend_double11_image' => '',
            'satisfaction_rate' => '',
            'chuman_shajun_taocan_image' => '',
            'reginal_image' => '',
            'reginal_desc' => '',
        ],
        self::BTYPE_家电清洗套餐 => [
            'banner1_image' => '',
            'product_desc' => '',
            'recommend_left1_image' => '',
            'recommend_left2_image' => '',
            'recommend_right1_image' => '',
            'recommend_right2_image' => '',
            'product_unit' => '',
            'recommend_double11_image' => '',
            'satisfaction_rate' => '',
            'chuman_shajun_taocan_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/jiadian@2x.png',
            'reginal_image' => '',
            'reginal_desc' => '',
        ],
        self::BTYPE_除螨杀菌套餐 => [
            'banner1_image' => '',
            'product_desc' => '',
            'recommend_left1_image' => '',
            'recommend_left2_image' => '',
            'recommend_right1_image' => '',
            'recommend_right2_image' => '',
            'product_unit' => '',
            'recommend_double11_image' => '',
            'satisfaction_rate' => '',
            'chuman_shajun_taocan_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/chuman@2x.png',
            'reginal_image' => '',
            'reginal_desc' => '',
        ],
        self::BTYPE_洗衣机清洗 => [
            'banner1_image' => '',
            'product_desc' => '',
            'recommend_left1_image' => '',
            'recommend_left2_image' => '',
            'recommend_right1_image' => '',
            'recommend_right2_image' => '',
            'product_unit' => '',
            'recommend_double11_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/xiyiji-11.png',
            'satisfaction_rate' => '99',
            'chuman_shajun_taocan_image' => '',
            'reginal_image' => '',
            'reginal_desc' => '',
        ],
        self::BTYPE_空调清洗 => [
            'banner1_image' => '',
            'product_desc' => '',
            'recommend_left1_image' => '',
            'recommend_left2_image' => '',
            'recommend_right1_image' => '',
            'recommend_right2_image' => '',
            'product_unit' => '',
            'recommend_double11_image' => '',
            'satisfaction_rate' => '',
            'chuman_shajun_taocan_image' => '',
            'reginal_image' => '',
            'reginal_desc' => '',
        ],
        self::BTYPE_厨房保洁 => [
            'banner1_image' => '',
            'product_desc' => '',
            'recommend_left1_image' => '',
            'recommend_left2_image' => '',
            'recommend_right1_image' => '',
            'recommend_right2_image' => '',
            'product_unit' => '',
            'recommend_double11_image' => '',
            'satisfaction_rate' => '',
            'chuman_shajun_taocan_image' => '',
            'reginal_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/chufang.png',
            'reginal_desc' => '专业解决重油污',
        ],
        self::BTYPE_卫生间保洁 => [
            'banner1_image' => '',
            'product_desc' => '',
            'recommend_left1_image' => '',
            'recommend_left2_image' => '',
            'recommend_right1_image' => '',
            'recommend_right2_image' => '',
            'product_unit' => '',
            'recommend_double11_image' => '',
            'satisfaction_rate' => '',
            'chuman_shajun_taocan_image' => '',
            'reginal_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/weishengjian.png',
            'reginal_desc' => '去味 杀菌 消毒',
        ],
        self::BTYPE_卧室保洁 => [
            'banner1_image' => '',
            'product_desc' => '',
            'recommend_left1_image' => '',
            'recommend_left2_image' => '',
            'recommend_right1_image' => '',
            'recommend_right2_image' => '',
            'product_unit' => '',
            'recommend_double11_image' => '',
            'satisfaction_rate' => '',
            'chuman_shajun_taocan_image' => '',
            'reginal_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/woshi.png',
            'reginal_desc' => '价格服务双舒心',
        ],
        self::BTYPE_阳台保洁 => [
            'banner1_image' => '',
            'product_desc' => '',
            'recommend_left1_image' => '',
            'recommend_left2_image' => '',
            'recommend_right1_image' => '',
            'recommend_right2_image' => '',
            'product_unit' => '',
            'recommend_double11_image' => '',
            'satisfaction_rate' => '',
            'chuman_shajun_taocan_image' => '',
            'reginal_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/yangtai.png',
            'reginal_desc' => '专业贴心服务',
        ],
        self::BTYPE_深度保洁 => [
            'banner1_image' => 'https://ljsh.oss-cn-beijing.aliyuncs.com/public/uploads/ljsh_C/banner2.png',
            'product_desc' => '',
            'recommend_left1_image' => '',
            'recommend_left2_image' => '',
            'recommend_right1_image' => '',
            'recommend_right2_image' => '',
            'product_unit' => '',
            'recommend_double11_image' => '',
            'satisfaction_rate' => '',
            'chuman_shajun_taocan_image' => '',
            'reginal_image' => '',
            'reginal_desc' => '',
        ],
        self::BTYPE_电热水器清洗 => [
            'banner1_image' => '',
            'product_desc' => '',
            'recommend_left1_image' => '',
            'recommend_left2_image' => '',
            'recommend_right1_image' => '',
            'recommend_right2_image' => '',
            'product_unit' => '',
            'recommend_double11_image' => '',
            'satisfaction_rate' => '',
            'chuman_shajun_taocan_image' => '',
            'reginal_image' => '',
            'reginal_desc' => '',
        ],
    ];

    //热门服务
    public const BTYPE_HOT = [
        self::BTYPE_日常保洁,
        self::BTYPE_工程开荒,
        self::BTYPE_精细开荒,
        self::BTYPE_空调清洗,
        self::BTYPE_擦玻璃,
        self::BTYPE_油烟机清洗,
        self::BTYPE_冰箱清洗,
        self::BTYPE_除螨杀菌,
        self::BTYPE_洗衣机清洗,
        self::BTYPE_深度保洁,
        self::BTYPE_电热水器清洗,
    ];

    //全屋大扫除

    //家电清洗套餐,除螨杀菌套餐
    public const BTYPE_APPLIANCES_PACKAGE = [
        self::BTYPE_家电清洗套餐,
        self::BTYPE_除螨杀菌套餐,
    ];

    //区域保洁, 前台首页显示项目
    public const BTYPE_REGIONAL = [
        self::BTYPE_厨房保洁,
        self::BTYPE_卫生间保洁,
        self::BTYPE_卧室保洁,
        self::BTYPE_阳台保洁,
    ];

    //推荐服务&&双11, 前台首页显示项目
    public const BTYPE_RECOMMEND = [
        self::BTYPE_家电清洗套餐2件套,
        self::BTYPE_家电清洗套餐3件套,
        self::BTYPE_企业消杀,
        self::BTYPE_日常保洁,
        self::BTYPE_工程开荒,
        self::BTYPE_精细开荒,
        self::BTYPE_擦玻璃,
        self::BTYPE_油烟机清洗,
    ];

    public const SERVICE_FREQUENCY_单次预约 = 1;
    public const SERVICE_FREQUENCY_两周一次 = 2;
    public const SERVICE_FREQUENCY_一周一次 = 3;
    public const SERVICE_FREQUENCY_一周多次 = 4;
    public const SERVICE_FREQUENCY = [
        self::SERVICE_FREQUENCY_单次预约 => '单次预约',
        self::SERVICE_FREQUENCY_两周一次 => '两周一次',
        self::SERVICE_FREQUENCY_一周一次 => '一周一次',
        self::SERVICE_FREQUENCY_一周多次 => '一周多次',
    ];

    public const SERVICE_ORDERING_TIME_1个月 = 1;
    public const SERVICE_ORDERING_TIME_2个月 = 2;
    public const SERVICE_ORDERING_TIME_3个月 = 3;
    public const SERVICE_ORDERING_TIME = [
        self::SERVICE_ORDERING_TIME_1个月 => '1个月',
        self::SERVICE_ORDERING_TIME_2个月 => '2个月',
        self::SERVICE_ORDERING_TIME_3个月 => '3个月',
    ];

    public const CITY_北京 = 1;
    public const CITY_深圳 = 178;
    public const CITY_上海 = 540;
    public const CITY_杭州 = 600;
    public const CITY_天津 = 1207;
    public const CITY_南京 = 1622;
    public const CITY_成都 = 2232;
    public const CITY_长沙 = 6688100;
    public const CITY_青岛 = 6688200;
    public const CITY_重庆 = 6688300;

    public const CITY_ALL = [
        self::CITY_北京 => '北京',
        self::CITY_深圳 => '深圳',
        self::CITY_上海 => '上海',
        self::CITY_杭州 => '杭州',
        self::CITY_天津 => '天津',
        self::CITY_南京 => '南京',
        self::CITY_成都 => '成都',
        self::CITY_长沙 => '长沙',
        self::CITY_青岛 => '青岛',
        self::CITY_重庆 => '重庆',
    ];
    public const CITYS = [
        self::CITY_北京,
        self::CITY_深圳,
        self::CITY_上海,
        self::CITY_杭州,
        self::CITY_天津,
        self::CITY_南京,
        self::CITY_成都,
        self::CITY_长沙,
        self::CITY_青岛,
        self::CITY_重庆,
    ];

    public const ERJI_STATUS_无推荐人 = 2;
    public const ERJI_STATUS_已处理 = 1;
    public const ERJI_STATUS_未处理 = 0;

    public const DISTRIBUTOR_STATS_STATUS_未处理 = 0;
    public const DISTRIBUTOR_STATS_STATUS_已取消 = 1;
    public const DISTRIBUTOR_STATS_STATUS_已入余额 = 2;

    public const TRANSACTION_RECORD_TYPE_好友下单 = 1;
    public const TRANSACTION_RECORD_TYPE_转入到微信 = 2;
    public const TRANSACTION_RECORD_TYPE_余额抵扣 = 3;
    public const TRANSACTION_RECORD_TYPE_余额回退 = 4;  // 订单过期末支付时会发生

    public const POSITION_首页顶部 = 1;
    public const POSITION_领券中心 = 2;
    public const POSITION_ALL = [
        self::POSITION_首页顶部 => '首页顶部banner',
        self::POSITION_领券中心 => '领券中心banner',
    ];
    public const POSITION_ALL_SIZE = [
        self::POSITION_首页顶部 => '690*270',
        self::POSITION_领券中心 => '750*360',
    ];

    public const ADVERT_STATUS_开启 = 1;
    public const ADVERT_STATUS_关闭 = 2;
    public const ADVERT_STATUS_ALL = [
        self::ADVERT_STATUS_开启 => '开启',
        self::ADVERT_STATUS_关闭 => '关闭',
    ];

    public const DEFAULT_STATUS_开启 = 1;
    public const DEFAULT_STATUS_关闭 = 2;

    public const ORDERS_CLOSED_关闭 = 1;
    public const ORDERS_CLOSED_开启 = 0;

    // 活动一产品
    public const ONEPRODUCT_SELECT = [
        self::BTYPE_擦玻璃,
        self::BTYPE_油烟机清洗,
        self::BTYPE_精细开荒,
        self::BTYPE_工程开荒,
        self::BTYPE_洗衣机清洗,
    ];

    // 活动二产品
    public const TWOPRODUCT_SELECT = [
        self::BTYPE_家电清洗套餐,
        self::BTYPE_除螨杀菌套餐,
    ];

    //年底大扫除预售(第一轮) 11月28日-12月15日
    public const ACTIVITY_1128_1215 = [
        self::BTYPE_全屋深度保洁,
    ];

    public const ACTIVITY_SHENZHEN_JIADIAN = [
        self::BTYPE_油烟机清洗,
        self::BTYPE_冰箱清洗,
        self::BTYPE_洗衣机清洗,
        self::BTYPE_空调清洗,
        self::BTYPE_电热水器清洗,
    ];

    /**
     * 活动三获取的优惠券 btype, 判断当前用户当前商品是否有优惠券可以使用, 如果有使用点击预约时间弹出时间段显示有优惠券可以使用
     */
    public const ACTIVITY_3_COUPON_BTYPE = [
        self::BTYPE_日常保洁 => '(4)',
        self::BTYPE_除螨杀菌 => '(106)',
        self::BTYPE_油烟机清洗 => "('102,105,109,110')",
        self::BTYPE_冰箱清洗 => "('102,105,109,110')",
        self::BTYPE_洗衣机清洗 => "('102,105,109,110')",
        self::BTYPE_空调清洗 => "('102,105,109,110')",
    ];

    //优惠券渠道类别
    public const COUPON_CODES_CHANNEL_公开优惠券 = 1;
    public const COUPON_CODES_CHANNEL_优惠码优惠券 = 2;
    public const COUPON_CODES_CHANNEL_礼包优惠券 = 3;
    public const COUPON_CODES_CHANNEL_ALL = [
        self::COUPON_CODES_CHANNEL_公开优惠券 => '公开优惠券',
        self::COUPON_CODES_CHANNEL_优惠码优惠券 => '优惠码优惠券',
        self::COUPON_CODES_CHANNEL_礼包优惠券 => '礼包优惠券',
    ];

    //活动二预约日期时间戳
    public const ACTIVITY_2_ORDER_SCOPE = [
        'start' => '2019-11-15',
        'end' => '2019-12-01',
    ];

    public const PRODUCT_ON_SALE_开启 = 1;
    public const PRODUCT_ON_SALE_关闭 = 2;

    public const PRODUCT_SKU_ON_SALE_开启 = 1;
    public const PRODUCT_SKU_ON_SALE_关闭 = 2;

    public const PRODUCT_SHOW_TYPE_单规格 = 1;
    public const PRODUCT_SHOW_TYPE_多规格 = 2;

    public const SKU_SHOW_TYPE_单规格 = 1;
    public const SKU_SHOW_TYPE_多规格 = 2;

    public const SKU_TYPE_普通 = 1;
    public const SKU_TYPE_加购 = 2;
}
